home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Software Vault: The Gold Collection
/
Software Vault - The Gold Collection (American Databankers) (1993).ISO
/
cdr49
/
ufexpand.zip
/
FEXPAND.ZIP
/
MSCBUILD.BAT
< prev
next >
Wrap
DOS Batch File
|
1993-03-03
|
827b
|
23 lines
@echo off
rem This batch file builds the example programs
rem using the Microsoft C compiler. It assumes that the
rem INCLUDE and LIB environment variables are set properly for MSC.
rem The model used here is the Small model.
rem To change the model, use -AX where X is one of M, C, L
rem for Medium, Compact, and Large respectively and then
rem use the msc\Xfexpand.lib where X is also M, C, L.
rem EXAMPLE1.EXE illustrates the use of the Xsetargv.obj module
rem so that the wildcarding takes place before main is even called
rem (i.e. argv is already expanded).
cl -W3 -AS example1.c ..\msc\Ssetargv.obj -link /NOE ..\msc\Sfexpand.lib
rem EXAMPLE2.EXE illustrates calling all of the available functions
rem in the File Template Expander directly.
cl -W3 -AS example2.c -link ..\msc\Sfexpand.lib